﻿using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Drawing.Printing;
using System.Drawing.Drawing2D;

namespace NIIT.SaoBacDau.Aupi.HospitalManagement.PrintData
{
    public class PrintData
    {
        public string Title { get; set; }
        public bool FillToPage { get; set; }
        private int PageNumber = 1;
        private bool PriSel = false;
        private PrintDocument PriDocument = new PrintDocument();
        private PrintPreviewDialog PriPreviewDlog = new PrintPreviewDialog();
        private PrintDialog PriDlog = new PrintDialog();
        public void PrintPreview(string DocumentName)
        {
            PriDocument.DocumentName = DocumentName;
            PageNumber = 1;
            PriSel = false;
            PriPreviewDlog.ShowDialog();
        }
        public void Print()
        {
            
        }
    }
}
